ShapeActionsCommand Constructor(Shape[],Double,Double,Boolean,Boolean)
In This Topic
Initializes a new instance of the
ShapeActionsCommand class for moving action.
Syntax
'Declaration
Public Function New( _
ByVal () As Shape, _
ByVal As Double, _
ByVal As Double, _
Optional ByVal As Boolean, _
Optional ByVal As Boolean _
)
'Usage
Dim drawingObjects() As Shape
Dim horizontal As Double
Dim vertical As Double
Dim duplicate As Boolean
Dim isRightToLeft As Boolean
Dim instance As New ShapeActionsCommand(drawingObjects, horizontal, vertical, duplicate, isRightToLeft)
public ShapeActionsCommand(
Shape[] ,
double ,
double ,
bool ,
bool
)
Parameters
- drawingObjects
- The drawing objects to process.
- horizontal
- The horizontal moving distance.
- vertical
- The vertical moving distance.
- duplicate
true
if all drawing objects will be duplicated.- isRightToLeft
See Also